﻿using CIS.Common.Enums;
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Common.Entitys
{
    public class UnitEntity : BaseEntity
    {
        public UnitEntity()
        {
            CreationTime = DateTime.Now;
        }
        public string? UnitId { get; set; }
        public string? Name { get; set; }
        public string? QualifiedLocationId { get; set; }
        public bool RemainGlass { get; set; }
        public string? OperatorId { get; set; }
        public EquipmentType Category { get; set; }
        public LinkType LinkType { get; set; }        
        public EquipmentStatus Status { get; set; }
        public bool ConnectionStatus { get; set; }
        public EquipmentOperationMode OperationMode { get; set; }
        public string? SkipMode { get; set; }
        public string? CurrentRecipeId { get; set; }
        public string? CurrentPPId { get; set; }
        public int WipCount { get; set; }
        public bool AutoRecipeChange { get; set; }
        public int UnitPathNo { get; set; }
        public string? UpstreamUnit { get; set; }
        public bool NotUsePPIDMap { get; set; }
        public bool UseDummyRequest { get; set; }
        public int DummyRequestCount { get; set; }
        public bool UseRecipe { get; set; }
        public string? InlineToolId { get; set; }
        public int CIMMode { get; set; }
        public string?  SoftwareVersion { get; set; }
        public OperMode OperaMode { get; set; }
        public int IndexerOperationMode { get; set; }
        public bool LoadingStop { get; set; }
        public bool JobReserverRequest { get; set; }
        public bool UnitOperationChangeable { get; set; }
        public int UnitAliveTimeout { get; set; } = 10; 
        public bool FdcReportFlag { get; set; } = true; 
    }
}
